
@import './variables.less';

.padding-10 {
	padding: 10px;
}
.no-radius {
	border-radius: 0 !important;
}

.disable-btn-edit {
	border: 1px solid #ACACAC;
	background: #fff;
	color: #676767;
	&:hover {
		border: 1px solid #4E61E2;
		background: #fff;
		color: #4E61E2;
	}
}

.disable-btn-del {
	border: 1px solid #ACACAC !important;
	background: #fff !important;
	color: #676767;
	&:hover {
		border: 1px solid #E83D2C !important;
		background: #fff !important;
		color: #E83D2C;
	}
}

.disable-btn-save {
	border: 1px solid #3FC01C!important;
	background: #fff!important;
	color: #2AAD06;
	&:hover {
		border: 1px solid #3FC01C!important;
		background: #fff!important;
		color: #2AAD06;
	}
}

.disable-btn-cancel {
	border: 1px solid #ACACAC;
	background: #fff;
	color: #868686;
	&:hover {
		border: 1px solid #ACACAC;
		background: #fff;
		color: #868686;
	}
}

.not-disable {
  color: @defaultButtonFontColor;
  border: 1px solid @defaultButtonBorderColor;
  background: #fff;
  &:hover {
    background: #fff;
    border: 1px solid @defaultButtonBorderColor;
  }
}

.is-disable {
  color: @disableButtonFontColor;
  border: 1px solid @disableButtonBorderColor;
  background: #fff;
  &:hover {
    background: #fff;
    border: 1px solid @disableButtonBorderColor;
  }
}

.iconfont {
    display: inline-block;
}
.u-form-control[disabled] {
	background: #fff;
	color: #676767;
}

.fl {
	float: left;
}
.fr {
	float: right;
}

//设置toast默认样式
.u-message {
  width: 340px !important;
  left: 50%;
  top: 15px !important;
  margin-left: -170px;
  z-index: 9999;
  span {
    .u-message-notice-info {
      background: #F5F8FF;
      color: #5882FC;
      border: 1px solid #C4C0FF;
      font-size: 16px;
      font-family: 'MicrosoftYaHei';
      .u-message-notice-description-icon {
        display: none;
      }
      .u-message-notice-description-content {
        padding: 10px;
        margin-left: 8px;
      }
    }
    .u-message-notice-danger {
      background: #fff;
      color: #FF5F5F;
      border: 1px solid #FF5F5F;
      font-size: 16px;
      font-family: 'MicrosoftYaHei';
      .u-message-notice-description-icon {
        display: none;
      }
      .u-message-notice-description-content {
        padding: 10px;
        margin-left: 8px;
      }
    }
    .u-message-notice-success {
      background: #EFFFEA;
      color: #2AAD06;
      border: 1px solid #3FC01C;
      font-size: 16px;
      font-family: 'MicrosoftYaHei';
      .u-message-notice-description-icon {
        display: none;
      }
      .u-message-notice-description-content {
        padding: 10px;
        margin-left: 8px;
      }
    }
    .u-message-notice-warning {
      background: #FFFBF7;
      color: #FF9920;
      border: 1px solid #FF9920;
      font-size: 16px;
      font-family: 'MicrosoftYaHei';
      .u-message-notice-description-icon {
        display: none;
      }
      .u-message-notice-description-content {
        padding: 10px;
        margin-left: 8px;
      }
    }
    .u-message-notice-close {
      font-size: 22px;
      right: 10px;
    }
  }
}

.u-modal-dialog {
  margin: 0 auto ;
}

/*清除IE10以上input框的自带图标提示*/
::-ms-clear, ::-ms-reveal {
  display: none;
}